.currency_box {
    position: relative;
}

oem-currency {
    oem-currency-drop {
        span,
        a {
            color: #000 !important;
        }
    }
}

.currency_box oem-currency-drop[position="top"] {
    bottom: calc(100% + 20px);
}

.currency_box oem-currency-drop[position="bottom"] {
    top: calc(100% + 10px);
}

.currency_box .currency_txt {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    letter-spacing: var(--nav_letter_spacing);
    border: none;
    border-radius: 3px;
    cursor: pointer;
}

.currency_box .currency_txt svg {
    -webkit-transition: transform 0.2s ease-in-out;
    -moz-transition: transform 0.2s ease-in-out;
    transition: transform 0.2s ease-in-out;
    height: 10px;
    width: 15px;
}

.currency_box .drop_currency {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    background-color: #fff;
    max-height: 300px;
    min-width: 150px;
    max-width: 250px;
    overflow-y: auto;
    display: none;
    z-index: 1000;
    box-shadow: 0 -5px 21px rgba(51,51,51, 0.15);
    border-radius: 5px;
}


.currency_box .drop_currency .currency {
    max-height: 200px;
    overflow-y: scroll;
}

.currency_box .drop_currency .currency::-webkit-scrollbar {
    display: none;
}

.currency_box .drop_currency li {
    list-style-type: none;
    &:hover{
        a{
            text-decoration: underline;
        }
    }
}

.currency_box .drop_currency li a {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 6px;
    padding: 5px 8px;
    color: #000;
    opacity: 1;
    letter-spacing: var(--nav_letter_spacing);
    font-size: 14px;
    margin: 0;
    white-space: nowrap;
    width: 100%;
    box-sizing: border-box;
}


.currency_box.drop_currency_on .drop_currency {
    display: block;
}

.currency_box.drop_currency_on .currency_txt svg.down {
    transform: rotate(-180deg);
}
